package com.bw.mapper;

import com.bw.entity.Dict;
import com.bw.entity.Employee;
import com.bw.entity.EmployeeAdd;
import com.bw.entity.EmployeeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {

    List<Dict> listDept();

    List<Dict> listGroup();

    List<Employee> selectByParam(EmployeeQuery query);

    void del(@Param("id") String id);

    Employee selectByNum(String num);

    void add(EmployeeAdd employeeAdd);
}
